package com.dongnam.quanly.common.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "NganHang")
public class NganHang extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Id
	@Column(name = "NganHangID")
	private String nganHangID;

	@Column(name = "TenVietTat", length = 100)
	private String tenVietTat;

	@Column(name = "TenDayDu", length = 200)
	private String tenDayDu;

	@Column(name = "TenTiengAnh", length = 100)
	private String tenTiengAnh;

	@Column(name = "DiaChi", length = 200)
	private String diaChi;

	@Column(name = "DienGiai")
	private String dienGiai;

	public NganHang() {
		// TODO Auto-generated constructor stub
	}

	public void setNganHangID(String nganHangID) {
		this.nganHangID = nganHangID;
	}

	public String getNganHangID() {
		return nganHangID;
	}

	public String getTenVietTat() {
		return tenVietTat;
	}

	public void setTenVietTat(String tenVietTat) {
		this.tenVietTat = tenVietTat;
	}

	public String getTenDayDu() {
		return tenDayDu;
	}

	public void setTenDayDu(String tenDayDu) {
		this.tenDayDu = tenDayDu;
	}

	public String getTenTiengAnh() {
		return tenTiengAnh;
	}

	public void setTenTiengAnh(String tenTiengAnh) {
		this.tenTiengAnh = tenTiengAnh;
	}

	public String getDiaChi() {
		return diaChi;
	}

	public void setDiaChi(String diaChi) {
		this.diaChi = diaChi;
	}

	public String getDienGiai() {
		return dienGiai;
	}

	public void setDienGiai(String dienGiai) {
		this.dienGiai = dienGiai;
	}

	public void fillnganHang(NganHang nganhang) {
		this.nganHangID = nganhang.nganHangID;
		this.tenVietTat = nganhang.tenVietTat;
		this.tenDayDu = nganhang.tenDayDu;
		this.tenTiengAnh = nganhang.tenTiengAnh;
		this.diaChi = nganhang.diaChi;
		this.dienGiai = nganhang.dienGiai;
	}

}
